package com.easyoffer.service;

import com.easyoffer.common.BaseResponse;
import com.easyoffer.model.dto.questionbankquestion.QuestionBankQuestionAddRequest;
import com.easyoffer.model.entity.QuestionBankQuestion;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
* @author 何文斌
* @description 针对表【question_bank_question(题库题目)】的数据库操作Service
* @createDate 2025-03-15 21:09:28
*/
public interface QuestionBankQuestionService extends IService<QuestionBankQuestion> {
    Boolean addQuestionBankQuestion(QuestionBankQuestionAddRequest addRequest, HttpServletRequest request);

    Boolean saveBatchToBank(Long questionBankId, List<Long> questionIdList, HttpServletRequest request);

    void saveBatchToBankMethod(Long questionBankId, List<Long> questionIdList, Long userId);

    Boolean deleteQuestionBankQuestion(Long id);

    Boolean batchRemoveQuestionFromBank(Long questionBankId, List<Long> questionIdList, HttpServletRequest request);
}
